package com.example.factory_demo.factory.abstactfactroy;

import com.example.factory_demo.ICourse;
import com.example.factory_demo.JavaCourse;

public class JavaCourseFactory implements ICourseFactory {
    @Override
    public ICourse createCourse() {
        return new JavaCourse();
    }

    @Override
    public INote createNote() {
        return new JavaNote();
    }
}
